import { http } from '@/utils/http/axios';

export function pageOrderReport(data = {}) {
  return http.request({
    url: '/admin/wip/orderReport/page',
    method: 'post',
    data,
  });
}

export function updateOrderReport(data = {}) {
  return http.request({
    url: '/admin/wip/orderReport/update',
    method: 'post',
    data,
  });
}

export function delOrderReport(data = {}) {
  return http.request({
    url: '/admin/wip/orderReport/delete',
    method: 'post',
    data,
  });
}

export function confirmOrderReport(data = {}) {
  return http.request({
    url: '/admin/wip/orderReport/confirm',
    method: 'post',
    data,
  });
}

export function exportOrderReport(data) {
  return http.request({
    url: '/admin/wip/orderReport/export',
    method: 'post',
    data,
    responseType: 'blob',
  });
}
